﻿using EasyXaf.EntityDesigner.BusinessObjects;

namespace EasyXaf.EntityDesigner.CodeTemplates.Extensions;

public static class DefaultBooleanExtensions
{
    public static string GetString(this DefaultBoolean defaultBoolean)
    {
        return defaultBoolean switch
        {
            DefaultBoolean.True => "true",
            DefaultBoolean.False => "false",
            _ => "default"
        };
    }
}
